projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bf9be2
)
* buffer.c (advance_to_char_boundary): Return EMACS_INT, not int.
author
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 9 Jun 2011 00:47:45 +0000
(17:47 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 9 Jun 2011 00:47:45 +0000
(17:47 -0700)
src/ChangeLog
patch
|
blob
|
history
src/buffer.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 8599c857082627391061c4324d7c5bc31fb55f00..c27c2f7d65ed7347f593d7e7e3f0c071f2c7d498 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,6
+1,7
@@
2011-06-09 Paul Eggert <eggert@cs.ucla.edu>
* buffer.c (Fgenerate_new_buffer_name): Use EMACS_INT for count, not int.
+ (advance_to_char_boundary): Return EMACS_INT, not int.
* data.c (Qcompiled_function): Now static.
diff --git
a/src/buffer.c
b/src/buffer.c
index 453ea838902b9ae5fe3129821061b670fbd17355..8fdd094a20d8f077a120a4d66f9078c65a34e8d7 100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-2038,7
+2038,7
@@
validate_region (register Lisp_Object *b, register Lisp_Object *e)
/* Advance BYTE_POS up to a character boundary
and return the adjusted position. */
-static
int
+static
EMACS_INT
advance_to_char_boundary (EMACS_INT byte_pos)
{
int c;